<template>
  <div id="app">
    <department-cascader v-model="value" @selectChange="selectChange"></department-cascader>
    <div>{{ value }}</div>
  </div>
</template>

<script>
import departmentCascader from '@/components/department-cascader/department-cascader.vue'
export default {
  data () {
    return {
      value: ''
    }
  },
  components: {
    departmentCascader
  },
  methods: {
    selectChange (val) {
      this.value = val
    }
  }
}
</script>

<style>
</style>
